package com.zut.hospital.config;

import cn.afterturn.easypoi.handler.impl.ExcelDataHandlerDefaultImpl;
import com.zut.hospital.entity.pharmacy.ExcelMedicine;
import com.zut.hospital.entity.pharmacy.ExcelPurchase;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @program: hos-test
 * @description:
 * @author: 杨曼珍
 * @create: 2019-07-08 19:42
 **/

public class MedicineExcelHandler extends ExcelDataHandlerDefaultImpl<ExcelMedicine> {

    private static final Logger log = LoggerFactory.getLogger(MedicineExcelHandler.class);


    @Override
    public Object importHandler(ExcelMedicine obj, String name, Object value) {
        log.info(name + ":" + value);
        return super.importHandler(obj, name, value);
    }
}
